def judgment_score(input_number):
    score = input_number

    if score >= 90:
        print("A")
    elif 60 <= score < 90:
        print("B")
    else:
        print("C")

    return print

input_number = int(input("请输入你的分数:"))
result = judgment_score(input_number)
print(result)
    